package com.two.reggie.service;

import com.two.reggie.common.PageResult;
import com.two.reggie.pojo.Employee;

public interface Two_EmployeeService {
    /**
     * 分页查询员工信息
     * @param page
     * @param pageSize
     * @param name
     * @return
     */
    PageResult queryEmployeeList(Integer page, Integer pageSize, String name);

    Employee queryEmployeeById(Long id);

    Employee queryEmployeeByUserName(String username);

    Integer save(Employee employee);

    Integer update(Employee employee);
}
